﻿using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OpenAdmin.Core.DbContextLocators;

namespace OpenAdmin.Core.Models;

/// <summary>
/// 购物车表
/// </summary>
[Table("ShopCarts")]
public class ShopCart : EntityBase<MallDbContextLocator>, IEntityTypeConfigure<ShopCart>, IEntityTypeSeedDataConfigure<ShopCart>
{

    public void Configure(EntityTypeBuilder<ShopCart> entityBuilder)
    {

    }

    public IEnumerable<ShopCart> HasData(DbContext dbContext)
    {
        return new List<ShopCart>() { };
    }
}
